package com.solomon.travel.common.model;

public class ExceptionResponse {
	
	private Integer code;
	private Exception exception;
	
	public ExceptionResponse(Exception exception){
		this.code = 500;
		this.exception = exception;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public Exception getException() {
		return exception;
	}

	public void setException(Exception exception) {
		this.exception = exception;
	}
}
